myApp.factory("ItemService",["$http",function($http){
	var service={};
	
	
	service.get_area=function(){
		var promise=$http.get("http://127.0.0.1/angular_tp/index.php//Index/area_json");
			return promise;
	}
	
	return service;
}])